<template>
  <div class="modalBox">
    <slot />
  </div>
</template>

<script setup></script>

<style scoped lang="less">
.modalBox {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.8s ease;
  background: rgba(0, 0, 0, 0.6);
}
</style>
